You are here: AgileShapes > Microsoft SPS > Move Files

Move Files

This AgileShape can be used to automatically move one file from one SharePoint library (or folder) to another SharePoint library (or folder).

 

NOTE: Moving a file from one library to another and then back to its original location will work as long as the columns on both libraries are the same.

 

NOTE: This AgileShape is a specialized sub-type of the AgilePart AgileShape. Refer to the documentation for the AgilePart AgileShape for additional information about the properties and behavior that this sub-type inherits from the AgilePart AgileShape.

 

Design-Time Properties

NOTE: Since this AgileShape is a specialized sub-type of the AgilePart AgileShape, all of the standard properties supported by the AgilePart AgileShape are also supported by this AgileShape. Since they are already documented elsewhere, the standard AgilePart properties are not documented in this section. Refer to the documentation for the AgilePart AgileShape for information about the standard AgilePart properties. Additional design-time properties (other than the standard AgilePart properties) that are specific to this AgileShape are documented below.

 

DocumentURL

Default value: $DocUrl

This property specifies the URL of the document (which must be located in a SharePoint document library or folder) that will be moved. The value must be an absolute URL.

 

OverWriteFile

Default value: False

This property is identical to the OverWriteFile property of the Download Files AgileShape. Refer to the Download Files AgileShape’s documentation for additional information.

 

TargetFolder

This property specifies the URL of the SharePoint document library (or subfolder) the file should be moved to. If the specified folder does not exist, it will be created when the file is moved. The value can be either an absolute URL or a relative URL (relative to the document’s current location).

 

E.g. http://MachineName:Port/sites/SiteName/DocumentLibraryName

 

-or-

 

http://MachineName:Port/sites/SiteName/DocumentLibraryName/FolderName

 

-or-

 

${SPServer}${SitePath}/DocumentLibraryName

 

-or-

 

DocumentLibraryName/SubFolderName